$OpenBSD: patch-jambase_c,v 1.4 2014/01/25 13:17:12 sthen Exp $
--- jambase.c.orig	Thu Aug 19 19:19:35 2004
+++ jambase.c	Sat Jan 25 13:09:39 2014
@@ -313,7 +313,7 @@ const char *jambase[] = {
 "LEX		?= lex ;\n",
 "LINKFLAGS	?= $(CCFLAGS) ;\n",
 "LINKLIBS	?= ;\n",
-"OPTIM		?= -O ;\n",
+"OPTIM		?= ;\n",
 "RANLIB		?= ranlib ;\n",
 "YACC		?= yacc ;\n",
 "YACCGEN		?= .c ;\n",
@@ -333,7 +333,7 @@ const char *jambase[] = {
 "CRELIB		?= ;\n",
 "DOT		?= . ;\n",
 "DOTDOT		?= .. ;\n",
-"EXEMODE		?= 711 ;\n",
+"EXEMODE		?= 755 ;\n",
 "FILEMODE	?= 644 ;\n",
 "FORTRAN		?= f77 ;\n",
 "FORTRANFLAGS	?= ;\n",
@@ -702,7 +702,7 @@ const char *jambase[] = {
 "}\n",
 "rule Setuid\n",
 "{\n",
-"MODE on [ FAppendSuffix $(<) : $(SUFEXE) ] = 4711 ;\n",
+"MODE on [ FAppendSuffix $(<) : $(SUFEXE) ] = 4755 ;\n",
 "}\n",
 "rule Shell\n",
 "{\n",
